###########################################################################
## $Id:  $
## Authors:
## Description: Build information for the ClinicalDAQ project
##              
##              
###########################################################################

# Set the executable name
SET( EXECUTABLE_NAME ClinicalDAQ )

# Set the project specific sources
SET( SRC_PROJECT
  main.cpp 
  MainWindow.cpp
  Marker.cpp
  GraphicsScene.cpp
  ${BCI2000_SRC_DIR}/shared/utils/DisplayFilter.cpp
)
SET( HDR_PROJECT
  MainWindow.h
  Marker.h
  GraphicsScene.h
  ${BCI2000_SRC_DIR}/shared/utils/DisplayFilter.h
)

SOURCE_GROUP( Headers\\BCI2000_Framework\\shared\\utils FILES
  ${BCI2000_SRC_DIR}/shared/utils/DisplayFilter.h
)
SOURCE_GROUP( Source\\BCI2000_Framework\\shared\\utils FILES
  ${BCI2000_SRC_DIR}/shared/utils/DisplayFilter.cpp
)

# Tell the macro to link against the math libraries in extlib
BCI2000_INCLUDE( "MATH" )

# Wrap the Qt files
QT4_WRAP_UI( GENERATED_UI MainWindow.ui )
QT4_WRAP_CPP( GENERATED_MOC 
  MainWindow.h
  Marker.h
  GraphicsScene.h
)
SET( GENERATED
  ${GENERATED_UI}
  ${GENERATED_MOC}
)

# Create the signal processing module
BCI2000_ADD_TOOLS_GUIAPP( 
  "${EXECUTABLE_NAME}" 
  "${SRC_PROJECT}" "${HDR_PROJECT}" 
  "${GENERATED}"
)
